package com.jic.market.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.market.entity.DiscountOrderDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 优惠订单明细表
 * @author : 
 * @email : 
 * @since : 2020-04-14 01:06:00
 * @version : v1.0.0
 */
@Mapper
public interface  DiscountOrderDetailMapper {

    long insert(DiscountOrderDetail discountOrderDetail);

    long delete(Long id);

    long update(DiscountOrderDetail discountOrderDetail);

    DiscountOrderDetail queryByPrimaryKey(Long id);

    List<DiscountOrderDetail> query(DiscountOrderDetail discountOrderDetail);

    List<DiscountOrderDetail> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("discountOrderDetail") DiscountOrderDetail discountOrderDetail);

    long queryPageCount(DiscountOrderDetail discountOrderDetail);
}